<link rel="stylesheet" href="<?= $this->baseUrl() ?>/css/listing.css" />
<?php
$this->title = "Rincian Admin";
$this->headTitle($this->title);
?>
<?php
echo $this->message;
?>


<table>
    <tr><tr>
    <td class="left">Nama</td><td class="right"><?php echo $this->escape($this->admin['name']);?></td>
    </tr><tr>
    <td class="left">Username</td><td class="right"><?php echo $this->escape($this->admin['username']);?></td>
    </tr><tr>
    <td class="left">Role</td><td class="right"><?php echo $this->role->getRoleName($this->escape($this->admin['role_id']));?></td>
    </tr><tr>
    <td class="left">Email</td><td class="right"><?php echo $this->escape($this->admin['email']);?></td>
    </tr><tr>
    <td class="left">Phone</td><td class="right"><?php echo $this->escape($this->admin['phone']);?></td>
    </tr><tr>
    <td class="left">Details</td><td class="right"><?php echo $this->escape($this->admin['details']);?></td>
    </tr><tr>
    <td> 
                  <a class="listed" href="<?php echo $this->url(array('controller'=>'admin',
            'action'=>'list'));?>">
            <img class="listed" src="<?php echo $this->baseUrl(); ?>/images/icons/arrow_left.png" alt="edit"/>
                    </a>
                </td><td>

                    <a class="listed" href="<?php echo $this->url(array("controller"=>"admin","action"=>"edit",'id'=>$this->admin['admin_id'])); ?>">
                     <img class="listed" src="<?php echo $this->baseUrl(); ?>/images/icons/pencil.png" alt="edit"/>
                    </a>
  <!--      <a href="<?php //echo $this->url(array('controller'=>'admin',
            //'action'=>'delete', 'id'=>$admin->admin_id));?>">Delete</a> -->
    </td>
    </tr>
</table>

   